package com.hntest.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.hntest.util.BidConst;

public class PaymentScheduleDetail extends BaseDomain {//17.还款记录明细表

	/**
	 * 
	 */
	private static final long serialVersionUID = -5445121963029703918L;
	private BigDecimal bidAmount;//投标人总共投标金额
	private Long bidId;//对应的投标id
	private BigDecimal totalAmount=BidConst.ZERO;//本期还款总金额（本金加利息）
	private BigDecimal principal=BidConst.ZERO;//本期应还款本金
	private BigDecimal interest=BidConst.ZERO;//本期应还款利息
	private int monthIndex;//第几期（第几个月）
	private Date deadLine;//本期还款截止时间
	private Long bidRequestId;//所属哪个借款
	private Date payDate;//实际付款日期
	private int returnType;//还款方式
	private Long paymentScheduleId;//所属还款计划
	private LoginInfo fromLoginInfo;//还款人（发标人）
	private LoginInfo toLoginInfo;//收款人（投标人）
	public BigDecimal getBidAmount() {
		return bidAmount;
	}
	public void setBidAmount(BigDecimal bidAmount) {
		this.bidAmount = bidAmount;
	}
	public Long getBidId() {
		return bidId;
	}
	public void setBidId(Long bidId) {
		this.bidId = bidId;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	public BigDecimal getPrincipal() {
		return principal;
	}
	public void setPrincipal(BigDecimal principal) {
		this.principal = principal;
	}
	public BigDecimal getInterest() {
		return interest;
	}
	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}
	public int getMonthIndex() {
		return monthIndex;
	}
	public void setMonthIndex(int monthIndex) {
		this.monthIndex = monthIndex;
	}
	public Date getDeadLine() {
		return deadLine;
	}
	public void setDeadLine(Date deadLine) {
		this.deadLine = deadLine;
	}
	public Long getBidRequestId() {
		return bidRequestId;
	}
	public void setBidRequestId(Long bidRequestId) {
		this.bidRequestId = bidRequestId;
	}
	public Date getPayDate() {
		return payDate;
	}
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}
	public int getReturnType() {
		return returnType;
	}
	public void setReturnType(int returnType) {
		this.returnType = returnType;
	}
	public Long getPaymentScheduleId() {
		return paymentScheduleId;
	}
	public void setPaymentScheduleId(Long paymentScheduleId) {
		this.paymentScheduleId = paymentScheduleId;
	}
	public LoginInfo getFromLoginInfo() {
		return fromLoginInfo;
	}
	public void setFromLoginInfo(LoginInfo fromLoginInfo) {
		this.fromLoginInfo = fromLoginInfo;
	}
	public LoginInfo getToLoginInfo() {
		return toLoginInfo;
	}
	public void setToLoginInfo(LoginInfo toLoginInfo) {
		this.toLoginInfo = toLoginInfo;
	}
	
	
}	
